<h2>Map Query</h2>

<%= form_tag %>
<p><label for="node_gender">Gender: </label>
<%= select("queryParam", "gender", ["", "M", "F"] )  %></p>

<p><label for="node_from_age">From Age: </label>
<%= text_field("queryParam", "fromAge", "size"=>3 )  %></p>

<p><label for="node_to_age">To Age: </label>
<%= text_field("queryParam", "toAge", "size"=>3 ) %></p>

<p><label for="facet">Facet: </label>
<%= text_field("queryParam", "facet")  %></p>

<p><label for="node_id">Map's Center Point:</label>
<%=collection_select("queryParam", "nodeId", community_nodes_with_lat_long_select(), :id, :name)%>
</p>

<p><label for="distance">Proximity Area (miles):</label>
<%= text_field("queryParam", "distance", "size" => 4 )  %></p>

<input type= "submit" value=" SUBMIT "/>
<%= end_form_tag %>
